package com.yuan.dao.feedback.impl;

import java.sql.SQLException;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import com.yuan.dao.feedback.FeedbackDao;
import com.yuan.feedback.Feedback;

/**
 * 意见反馈
 * 
 * @author Beni
 * 
 */
public class FeedbackDaoImpl extends SqlMapClientTemplate implements
		FeedbackDao {

	public void save(Feedback feedback) throws SQLException {
		try {
			this.insert("Feedback.save", feedback);
		} catch (Exception e) {
			logger.error("FeedBack入库失败", e);
			throw new SQLException();
		}
	}

}
